package org.admin.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import org.admin.entity.domain.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface UserRoleMapper extends MPJBaseMapper<UserRole> {
    @Update("update admin_user_roles set deleted_at=null where id=#{id}")
    int recover(Integer id);
}
